package com.nbsaas.boot.pay.api.domain.request;

import com.nbsaas.boot.rest.filter.Operator;
import com.nbsaas.boot.rest.filter.Search;
import com.nbsaas.boot.rest.request.PageRequest;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 搜索bean
 */
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CashPaymentSearchRequest extends PageRequest implements Serializable {

    /**
     * 序列化参数
     */
    private static final long serialVersionUID = 1L;


    @Search(name = "cashConfig.id", operator = Operator.eq)
    private String cashConfig;

    @Search(name = "name", operator = Operator.like)
    private String name;

    @Search(name = "no", operator = Operator.like)
    private String cashNo;

    @Search(name = "user.id", operator = Operator.eq)
    private String user;


    /**
     *
     **/
    @Search(name = "note", operator = Operator.like)
    private String note;

    /**
     * 微信openId
     **/
    @Search(name = "openId", operator = Operator.like)
    private String openId;

    /**
     * 身份证号码
     **/
    @Search(name = "idNo", operator = Operator.like)
    private String idNo;

    /**
     * 备注
     **/
    @Search(name = "demo", operator = Operator.like)
    private String demo;

    /**
     * 手机号
     **/
    @Search(name = "phone", operator = Operator.like)
    private String phone;

    /**
     * 业务单号
     **/
    @Search(name = "bussNo", operator = Operator.like)
    private String bussNo;

    /**
     * 应用id
     **/
    @Search(name = "appId", operator = Operator.like)
    private String appId;

    /**
     * 主键id
     **/
    @Search(name = "id", operator = Operator.eq)
    private Long id;


}